package com.gdit.zax;

/**
 * 程序常量
 * @author ping
 *
 */

public class Constant {
//	public static Exception mException;
	public static String WEBPATH;
	
	public final static String WEBRoot = "http://zuiaixue.jd-app.com/";
//	public final static String WEBRoot = "http://zuiaixue.aliapp.com/";
	public final static String PIC_register = "images/register.jpg";
	public final static String PIC_signin = "images/signin.jpg";
	public final static String PIC_comment = "images/comment.jpg";
	public final static String PIC_video = "videopics/default.jpg";
	public final static String PIC_userhead = "userheads/default.png";
	
	public final static int ULEVEL_forbid = -1;//被禁止访问的用户
	public final static int ULEVEL_user = 0;//刚注册的用户
	public final static int ULEVEL_teacher = 10;//老师
	public final static int ULEVEL_admin = 20;//管理员
	public final static int ULEVEL_superadmin = 30;//超级管理员
	
	public final static int TLEVEL_no = 0;//不是教师
	public final static int TLEVEL_teacher = 10;//老师
//	public static int TLEVEL_admin = 20;//管理员
//	public static int TLEVEL_superadmin = 30;//超级管理员
	
	public final static int APPLYTC_applying = 0;//申请教师中
	public final static int APPLYTC_success = 1;//申请成为教师成功
	public final static int APPLYTC_fail = 2;//申请成为教师失败
	
	
	public final static int LOGINTYPE_APP = 0;//app登录,只允许一处登录
	public final static int LOGINTYPE_WEB = 1;//网页登录，只允许一处登录(和其他登录不冲突)
	public final static int LOGINTYPE_MANY = 2;//多次登录，时间限制
	
	
	public final static int DYNAMICSYS_regeist = 1;//系统动态类型
	public final static int DYNAMICSYS_signin = 2;
	public final static int DYNAMICSYS_attentionuser = 3;
	public final static int DYNAMICSYS_attentionuteacher = 4;
	public final static int DYNAMICSYS_publicvideo = 5;
	public final static int DYNAMICSYS_updatavideo = 6;
	
	
	public final static int DYNAMIC_type_all = 0;//所有动态(历程)
	public final static int DYNAMIC_type_system = 1;//
	public final static int DYNAMIC_type_seerecode = 2;
	public final static int DYNAMIC_type_comme = 3;//评论
	public final static int DYNAMIC_type_downrecode = 4;//下载
	
	//做某件事时增加的分数
	public final static int SCORE_SIGNIN = 1;
	public final static int SCORE_DOWNCOURSE = 3;//完成课程得3分
	public final static int SCORE_SEECOURSE = 1;//开始学习课程
	
	
	
	public final static int INDEXCLASS_type_new = 0;
	public final static int INDEXCLASS_type_hot = 1;
	public final static int INDEXCLASS_type_comment = 2;
	
	//0没关注，1已关注，2用户没登陆，不能关注
	public final static int AFFTENSTAT_NO = 0;
	public final static int AFFTENSTAT_YES = 1;
	public final static int AFFTENSTAT_NOLOGIN = 2;
	
	
}
